package com.ruoyi.wechat.mapper;

import java.util.List;
import com.ruoyi.wechat.domain.Communicationid;
import com.ruoyi.wechat.domain.CommunicationVo;
import org.apache.ibatis.annotations.Select;

/**
 * 营地交流Mapper接口
 * 
 * @author ruoyi
 * @date 2024-12-31
 */
public interface CommunicationidMapper 
{
    /**
     * 查询营地交流
     * 
     * @param communicationId 营地交流主键
     * @return 营地交流
     */
    public Communicationid selectCommunicationidByCommunicationId(String communicationId);

    /**
     * 查询营地交流列表
     * 
     * @param communicationid 营地交流
     * @return 营地交流集合
     */
    public List<Communicationid> selectCommunicationidList(Communicationid communicationid);

    /**
     * 新增营地交流
     * 
     * @param communicationid 营地交流
     * @return 结果
     */
    public int insertCommunicationid(Communicationid communicationid);

    /**
     * 修改营地交流
     * 
     * @param communicationid 营地交流
     * @return 结果
     */
    public int updateCommunicationid(Communicationid communicationid);

    /**
     * 删除营地交流
     * 
     * @param communicationId 营地交流主键
     * @return 结果
     */
    public int deleteCommunicationidByCommunicationId(String communicationId);

    /**
     * 批量删除营地交流
     * 
     * @param communicationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCommunicationidByCommunicationIds(String[] communicationIds);

    @Select("select * from c_communicationid  ORDER BY time DESC")
    List<CommunicationVo> select();

}
